﻿using MES.Desktop.Entities;
using System.ComponentModel;

namespace MES.Desktop.IService
{
    public interface IFileService
    {
        FileEntiy[] GetLocalUpgradeFiles();

        FileEntiy[] GetServerUpgradeFiles(string key = "");

        void UploadFile(string file, string filePath, Action<int> prograssChanged, Action<AsyncCompletedEventArgs> completed);

        int DeleteFile(string fileName);

        void UploadIdCard(string file, string name);

        void UploadIssueImage(string file, string name);
    }
}
